package com.lsp.base.utils;

import android.content.Context;
import android.widget.Toast;

/**
 * @author com.lsp.ibxs
 * @created 16/11/17 14:28
 */
public class ToastUtils {

  private static Toast mToast;

  public static void showToast(Context mContext, String msg) {
    if (null == mToast) {
      mToast = Toast.makeText(mContext, msg, Toast.LENGTH_SHORT);
    }
    mToast.setText(msg);
    mToast.show();
  }
}
